package com.iweb.day07;

/**
 * @author jay
 * @date 2021/11/7
 * @desc 木门子类
 */
public class WoodenDoor extends Door
        implements Lockable ,Camerable {
    @Override
    public void open() {
        System.out.println("轻轻推，门开了");
    }

    @Override
    public void close() {
        System.out.println("轻轻拉，门关了");
    }

    /**
     * 锁门
     */
    @Override
    public void lockup() {
        System.out.println("左三圈，门上的锁，上锁了。。。");
    }

    /**
     * 开锁
     */
    @Override
    public void openLock() {
        System.out.println("右三圈，门上的锁，开了。。。");
    }

    @Override
    public void reverseLock() {
        System.out.println("在房间里轻轻一按，门反锁了。。。");
    }

    @Override
    public void takePhoto() {

    }

    @Override
    public void takeVideo() {
        System.out.println("摄像头正在录像中。。。");
    }
}
